#pragma once
#include<string>
#include "FrameProperty.hpp"
namespace Moduels::FramesIO
{
    class VideoReader {
    protected:
        cv::Mat OriginPicture;
        FrameProperty Format;
        cv::VideoCapture Video;
        std::string Path;
        int VideoSize;
        int FrameIndex;
    public:
        VideoReader(FrameProperty format):Format(format)
        {
            Init();
        }

        void Init();

        cv::Mat GetCurrentPicture();
    };
}



